﻿using SomeRandomGame.Achievements;
using SomeRandomGame.Screens;

namespace SomeRandomGame
{
    public class AchievementManager

    {
        private readonly IScreenManager _screenManager;

        public AchievementManager(IScreenManager screenManager)
        {
            _screenManager = screenManager;
            StartObservingAchievements();
        }

        private void StartObservingAchievements()
        {
// ReSharper disable ObjectCreationAsStatement

            new ThreeSecondsIngameAchievement(_screenManager);

// ReSharper restore ObjectCreationAsStatement
        }
    }
}
